Make sure that the image and texture formats match. When image and texture formats do not match, Kanzi Engine converts them during the loading of your Kanzi application using the CPU of the target platform. This can significantly increase the amount of time it takes to launch your application.
For example, if a texture is grayscale and uses transparency, in Kanzi Studio set the texture Format property to Grayscale alpha (8-bit) instead of, for example, RGBA (8-bit). A 256 by 256 pixels RGBA texture uses 262 kb (256 * 256 * 4). When you use grayscale with alpha channel, the same texture uses 131 kb (256 * 256 * 2).
When image and texture formats do not match, Kanzi Studio shows this warning in the Log window:
Application WARNING: The format of the texture '<TextureName>' does not match the format of the image '<ImageName>'. To improve the performance of your application, make sure the formats of the image and the texture match.
Make sure that all faces of a cubemap texture use images of the same size and format. When size and format of the images in a cubemap texture do not match, Kanzi uses the default cubemap texture.
For example, for all faces of a cubemap texture use images that are 256 by 256 pixels large and are 8-bit grayscale.
When the size and format of images in a cubemap texture do not match, Kanzi Studio uses red type to mark such textures.
Setting the correct size of vertex cache
Measuring the performance of your application